package com.hanamaki;

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;

public class SeleniumTest {

    public static void main(String[] args) {

        //1.注册 浏览器打开的位置
        System.setProperty("webdriver.chrome.driver", "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chromedriver.exe");

        /*2. 注册 谷歌驱动*/
        WebDriver driver = new ChromeDriver();

        /* 3. 打开百度首页 */
        driver.get("https://wwww.baidu.com");

    }
}
